package com.epam.necklace.view.menu.mainmenu;

import org.apache.log4j.Logger;

import com.epam.necklace.logic.activity.PriseComparator;
import com.epam.necklace.view.menu.MenuItem;

public class SortingNecklace extends MenuItem {
	private static final Logger log = Logger.getLogger(SortingNecklace.class);

	public SortingNecklace() {
		super("Sort stones in your necklace on price", "5");
	}

	@Override
	public boolean execute() {
		log.info("Sorting comand");
		PriseComparator sort = new PriseComparator();
		sort.action();
		return true;
	}

}
